@layout("/common/_tree_container.html",{plugins:["ztree"],js:["/assets/modular/system/zxKemu/zxKemu.js"],css:["/assets/common/css/beautiful.css"]}){
<link rel="stylesheet" href="${ctxPath}/assets/common/css/pack.css?v=${constants.getReleaseVersion()}" media="all">
<div class="layui-body-header">
    <span class="layui-body-header-title">装修科目表管理</span>
</div>

<div id="myContiner" style="height: 100%">
    <div class="ui-layout-west">
        <div class="box box-main">
            <div class="ui-layout-content">
                <div id="kemuTree"></div>
            </div>
        </div>
    </div>

    <div class="ui-layout-center">
        <div class="layui-fluid">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-form toolbar">
                                <div class="layui-form-item">
                                    <div class="layui-inline">
                                        <label class="layui-form-label">科目名称</label>
                                        <div class="layui-input-inline">
                                            <input id="searchname" class="layui-input" type="text" placeholder="科目名称"/>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <button id="btnSearch" class="layui-btn layui-btn-sm">搜索</button>

<!--                                        <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                                    </div>

                                    <div class="layui-inline">
                                        <label class="layui-form-label">科目名称<span style="color: red;">*</span></label>
                                        <div class="layui-input-inline">
                                            <input id="name" name="name" placeholder="请输入科目名称" type="text" class="layui-input" lay-verify="required" required/>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">排序<span style="color: red;">*</span></label>
                                        <div class="layui-input-inline">
                                            <input id="sort" name="sort" placeholder="请输入排序" type="text" class="layui-input"  lay-verify="required" required/>
                                        </div>
                                    </div>
                                    <!--<div class="layui-inline">
                                        <label class="layui-form-label">科目代码<span style="color: red;">*</span></label>
                                        <div class="layui-input-block">
                                            <input id="code" name="code" placeholder="请输入科目代码" type="text" class="layui-input" lay-verify="required" required/>
                                        </div>
                                    </div>-->
                                    <div class="layui-inline">
                                        <button class="layui-btn layui-btn-sm" lay-filter="btnSubmit" lay-submit>添加</button>
                                    </div>
                                </div>
                            </div>
                            <table class="layui-table" id="zxKemuTable" lay-filter="zxKemuTable"></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="tableBar">
    {{# if(d.level !=""&&d.level !="0"){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    {{# } }}
</script>
<script id="statusTpl" type="text/html">
    {{#  if(d.level == "1"){ }}
    一级科目
    {{#  }else if(d.level == "2"){ }}
    二级科目
    {{#  }else if(d.level == "3"){ }}
    三级科目
    {{#  } }}
</script>
@}